From: Alex McArther Date: Mon, 5 Mar 2018 14:36:12 +0000 (-0800) Subject: Repair the other metadata tests X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~2^2~61^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=6a2b6468ca11bf31987956b22eb58f46727fbbfa;p=cargo.git Repair the other metadata tests --- diff --git a/tests/testsuite/metadata.rs b/tests/testsuite/metadata.rs index c1a8b87ac..c5c11cea2 100644 --- a/tests/testsuite/metadata.rs +++ b/tests/testsuite/metadata.rs @@ -42,6 +42,7 @@ fn cargo_metadata_simple() { "nodes": [ { "dependencies": [], + "features": [], "id": "foo 0.5.0 (path+file:[..]foo)" } ], @@ -117,6 +118,7 @@ crate-type = ["lib", "staticlib"] "nodes": [ { "dependencies": [], + "features": [], "id": "foo 0.5.0 (path+file:[..]foo)" } ], @@ -330,16 +332,19 @@ fn cargo_metadata_with_deps_and_version() { "dependencies": [ "bar 0.0.1 (registry+[..])" ], + "features": [], "id": "foo 0.5.0 (path+file:[..]foo)" }, { "dependencies": [ "baz 0.0.1 (registry+[..])" ], + "features": [], "id": "bar 0.0.1 (registry+[..])" }, { "dependencies": [], + "features": [], "id": "baz 0.0.1 (registry+[..])" } ], @@ -404,6 +409,7 @@ name = "ex" "nodes": [ { "id": "foo 0.1.0 (path+file:[..]foo)", + "features": [], "dependencies": [] } ] @@ -468,6 +474,7 @@ crate-type = ["rlib", "dylib"] "nodes": [ { "id": "foo 0.1.0 (path+file:[..]foo)", + "features": [], "dependencies": [] } ] @@ -540,10 +547,12 @@ fn workspace_metadata() { "nodes": [ { "dependencies": [], + "features": [], "id": "baz 0.5.0 (path+file:[..]baz)" }, { "dependencies": [], + "features": [], "id": "bar 0.5.0 (path+file:[..]bar)" } ],